/**
 * Copyright UOB Ltd. All rights reserved. (2011)
 *
 * This software is the confidential and proprietary information
 * of United Overseas Bank Ltd. ("Confidential Information"). 
 * You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the contract
 * agreement you entered into with UOB.
 * 
 * File Name  : App001.java
 * Created By : Adelwin Handoyo
 * Created At : Apr 12, 2011 2:14:42 PM
 *
 * Change History
 * Author Name     Date        Details
 * =============== =========== =================================
 * Adelwin Handoyo Apr 12, 2011 Initial Draft
 */
package com.uobgroup.cmt.base;

import java.sql.SQLException;

import javax.sql.DataSource;

import org.apache.log4j.Logger;

import com.uobgroup.cmt.base.exception.BaseException;
import com.uobgroup.cmt.base.factory.SpringBeanFactory;

public class App003 {
	protected static Logger logger = Logger.getLogger(App003.class);

	/**
	 * @param args
	 * @throws BaseException 
	 * @throws SQLException 
	 */
	public static void main(String[] args) throws BaseException, SQLException {
		logger.info("Application Started");
		
		DataSource dataSource01 = (DataSource) SpringBeanFactory.getInstance().getBean("cmtDataSource");
		dataSource01.getConnection();
		
	}

}
